package com.android.infantschool.bean;

import java.util.Arrays;
import java.util.List;

/**
 * @author Administrator
 * @particulars
 * @time 2019\7\9 0009 10:16
 * @class describe
 */
public class BabySyllabusBean extends BaseBean {

    /**
     * code : 0
     * msg : 成功
     * count : 0
     * data : [{"courseName":"跳绳","noonCourseName":"吃饭","afternoonCourseName":"折纸鹤","courseTime":"2019-07-29","timeCode":1,"nowTime":"星期一"},{"courseName":"吃饭","noonCourseName":"哈哈","afternoonCourseName":"hello","courseTime":"2019-07-30","timeCode":2,"nowTime":"星期二"},{"courseName":"玩皮球","noonCourseName":"折纸鹤","afternoonCourseName":"跳绳","courseTime":"2019-07-31","timeCode":3,"nowTime":"星期三"},{"courseName":"折纸鹤","noonCourseName":"跳绳","afternoonCourseName":"吃饭","courseTime":"2019-08-01","timeCode":4,"nowTime":"星期四"},{"courseName":"跳绳","noonCourseName":"吃饭","afternoonCourseName":"玩皮球","courseTime":"2019-08-02","timeCode":5,"nowTime":"星期五"},{"courseName":"吃饭","noonCourseName":"玩皮球","afternoonCourseName":"折纸鹤","courseTime":"2019-08-03","timeCode":6,"nowTime":"星期六"},{"courseName":"玩皮球","noonCourseName":"折纸鹤","afternoonCourseName":"跳绳","courseTime":"2019-08-04","timeCode":7,"nowTime":"星期天"}]
     */

    private int code;
    private String msg;
    private int count;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * courseName : 跳绳
         * noonCourseName : 吃饭
         * afternoonCourseName : 折纸鹤
         * courseTime : 2019-07-29
         * timeCode : 1
         * nowTime : 星期一
         */

        private String courseName;
        private String noonCourseName;
        private String afternoonCourseName;
        private String courseTime;
        private int timeCode;
        private String nowTime;

        public String getCourseName() {
            return courseName;
        }

        public void setCourseName(String courseName) {
            this.courseName = courseName;
        }

        public String getNoonCourseName() {
            return noonCourseName;
        }

        public void setNoonCourseName(String noonCourseName) {
            this.noonCourseName = noonCourseName;
        }

        public String getAfternoonCourseName() {
            return afternoonCourseName;
        }

        public void setAfternoonCourseName(String afternoonCourseName) {
            this.afternoonCourseName = afternoonCourseName;
        }

        public String getCourseTime() {
            return courseTime;
        }

        public void setCourseTime(String courseTime) {
            this.courseTime = courseTime;
        }

        public int getTimeCode() {
            return timeCode;
        }

        public void setTimeCode(int timeCode) {
            this.timeCode = timeCode;
        }

        public String getNowTime() {
            return nowTime;
        }

        public void setNowTime(String nowTime) {
            this.nowTime = nowTime;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "courseName='" + courseName + '\'' +
                    ", noonCourseName='" + noonCourseName + '\'' +
                    ", afternoonCourseName='" + afternoonCourseName + '\'' +
                    ", courseTime='" + courseTime + '\'' +
                    ", timeCode=" + timeCode +
                    ", nowTime='" + nowTime + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "BabySyllabusBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", count=" + count +
                ", data=" + Arrays.toString(data.toArray()) +
                '}';
    }
}